<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
namespace app\behavior;
// 注意应用或模块的不同命名空间
use data\service\Member;
use think\Request;

\think\Loader::addNamespace('data', 'data/');


class UserLogin
{
    /**
     * @param array $paramArray
    (
    [uid] => 3
    [user_status] => 1
    [user_name] => lvdoubaobao
    [is_system] => 0
    [instance_id] => 0
    [is_member] => 1
    [current_login_ip] => 0.0.0.0
    [current_login_time] => 1549202615
    [current_login_type] => 1
    )
     */
    public function run(&$param = [])
    {
       //$parent_id=

        $user=new Member();

        $user->distrbuteMember($param['uid'],4);
    }
}
